﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using KetNoi;
using ThucThe;
using System.Data;

namespace DieuKhien
{
    public class VanTai_dieukhien
    {
        VanTai_ketnoi kn = new VanTai_ketnoi();
        public DataTable danhSachVanTai()
        {
            return kn.danhSachVanTai();
        }
        public DataTable timVanTai(VanTai_thucthe vt)
        {
            return kn.timVanTai(vt);
        }
        public int themVanTai(VanTai_thucthe vt)
        {
            return kn.Them_VanTai(vt);
        }
        public int suaVanTai(VanTai_thucthe vt)
        {
            return kn.Sua_VanTai(vt);
        }
        public int xoaVanTai(VanTai_thucthe vt)
        {
            return kn.Xoa_VanTai(vt);
        }
    }
        
}
